package htw.renoir.vs.model;

import javax.persistence.Id;
import javax.validation.constraints.NotNull;


public class User {
	
//	@Size(min = 7, max = 7)
	@Id
	private int id;
	private String UserID;	
	@NotNull
	private String firstname;
	@NotNull
	private String lastname;
	@NotNull
	private String password;
	
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getUserID() {
		return UserID;
	}
	public void setUserID(String userID) {
		UserID = userID;
	}
	public String getFirstname() {
		return firstname;
	}
	public void setFirstname(String firstname) {
		this.firstname = firstname;
	}
	public String getLastname() {
		return lastname;
	}
	public void setLastname(String lastname) {
		this.lastname = lastname;
	}

}
